package com.ciaojian.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ciaojian.core.mapper.CheckUserMapper;
import com.ciaojian.core.model.vo.CheckUser;
import com.ciaojian.core.service.CheckUserService;
import com.ciaojian.core.model.vo.CheckTodayUserVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

@Service
public class CheckUserServiceImpl extends CheckUserService<CheckUserMapper, CheckUser> implements IService<CheckUser> {
    @Resource
    private CheckUserMapper checkUserMapper;

    public List<CheckTodayUserVo> selectCheckToday(String date, Integer storeId){
        List<CheckTodayUserVo> checkTodayUserVos = checkUserMapper.selectCheckToday(date,storeId);

        return checkTodayUserVos;
    }
}
